﻿

namespace ZXW.DotNet.Common.NetSnmp
{
	/// <summary>
	/// Pdu and ScopedPdu error status value enumeration
	/// </summary>
	/// <remarks>Thanks to Pavel_Tatarinov@selinc.com</remarks>
	public enum PduErrorStatus
	{
		/// <summary>
		/// No error
		/// </summary>
		noError = 0,
		/// <summary>
		/// request or reply is too big
		/// </summary>
		tooBig = 1,
		/// <summary>
		/// requested name doesn't exist
		/// </summary>
		noSuchName = 2,
		/// <summary>
		/// bad value supplied
		/// </summary>
		badValue = 3,
		/// <summary>
		/// Oid is read only
		/// </summary>
		readOnly = 4,
		/// <summary>
		/// general error
		/// </summary>
		genErr = 5,
		/// <summary>
		/// access denied
		/// </summary>
		noAccess = 6,
		/// <summary>
		/// wrong type
		/// </summary>
		wrongType = 7,
		/// <summary>
		/// wrong length
		/// </summary>
		wrongLength = 8,
		/// <summary>
		/// wrong encoding
		/// </summary>
		wrongEncoding = 9,
		/// <summary>
		/// wrong value
		/// </summary>
		wrongValue = 10,
		/// <summary>
		/// no creation
		/// </summary>
		noCreation = 11,
		/// <summary>
		/// inconsistent value
		/// </summary>
		inconsistentValue = 12,
		/// <summary>
		/// resource is not available
		/// </summary>
		resourceUnavailable = 13,
		/// <summary>
		/// commit failed
		/// </summary>
		commitFailed = 14,
		/// <summary>
		/// undo failed
		/// </summary>
		undoFailed = 15,
		/// <summary>
		/// authorization error
		/// </summary>
		authorizationError = 16,
		/// <summary>
		/// not writable
		/// </summary>
		notWritable = 17,
		/// <summary>
		/// inconsistent name
		/// </summary>
		inconsistentName = 18
	}
}
